cppforever.com
Home
Syntax rules
Preprocessor
Preprocessor directives
#error
Go Up
#error
Generates a compilation error with a custom message.
#error "Unsupported platform"